package com.hnchances.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hnchances.common.annotation.Excel;
import com.hnchances.common.core.domain.BaseEntity;

/**
 * 学科管理对象 course
 * 
 * @author wth
 * @date 2024-11-05
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id,key */
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 0正常，1删除 */
    @Excel(name = "0正常，1删除")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseName", getCourseName())
            .append("status", getStatus())
            .toString();
    }
}
